<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html lang="en">
<head>
    <%@include file="/WEB-INF/pages/common/head.jsp"%>
</head>
<body>
<div class="container-fluid">
                    <div class="row">
                        <div class="col-md-10"></div>
                        <div class="col-md-2">
                            <button class="btn btn-primary" type="button" onclick="addOrder()">生成采购订单</button>
                        </div>
                    </div>
</div>

    <table id="table" data-toggle="table"
           data-pagination="true"
           data-side-pagination="server"
           data-url="procurement/orderGenerate/searchByPurchaseMaster"
           data-align="center"
    >
        <thead>
        <tr>
            <th data-radio="true"></th>
            <th data-field="purchaseMasterId">序号</th>
            <th data-field="purchaseNo">采购单号</th>
            <th data-field="orderStatus" data-formatter="FormatterState">订单状态</th>
            <th data-field="supply.supplyName">供应商</th>
            <th data-formatter="FormatOperation">操作</th>
        </tr>
        </thead>
    </table>
</div>

<%@include file="/WEB-INF/pages/common/modal.jsp"%>
<script src="res/js/orderGenerate.js"></script>
</body>
</html>